package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdPerson;
import com.shangdiao.sd_server.generator.pojo.SdPersonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdPersonMapper {
    int countByExample(SdPersonExample example);

    int deleteByExample(SdPersonExample example);

    int deleteByPrimaryKey(Integer personId);

    int insert(SdPerson record);

    int insertSelective(SdPerson record);

    List<SdPerson> selectByExample(SdPersonExample example);

    SdPerson selectByPrimaryKey(Integer personId);

    int updateByExampleSelective(@Param("record") SdPerson record, @Param("example") SdPersonExample example);

    int updateByExample(@Param("record") SdPerson record, @Param("example") SdPersonExample example);

    int updateByPrimaryKeySelective(SdPerson record);

    int updateByPrimaryKey(SdPerson record);
}